remove element from list by index

37

a = ['a', 'b', 'c', 'd']
a.pop(1)

# now a is ['a', 'c', 'd']

Comments

Submit
0 Comments